package cn.edu.ncut.cs.springboot.springbootdatabase.service;


import cn.edu.ncut.cs.springboot.springbootdatabase.entity.PrisonGuard;
import cn.edu.ncut.cs.springboot.springbootdatabase.entity.Prisoner;

import java.util.List;
import java.util.Optional;

public interface PrisonGuardService {
    List<PrisonGuard> findAll();
    Optional<PrisonGuard> findById(Integer id);
    PrisonGuard savePrisonGuard(PrisonGuard prisoner);
    void deletePrisonGuard(Integer id);
}
